<!DESCRIPTION>Version two of the Select-All form element script, this one highlights the content of the specified form element as soon as the mouse sets focus on it.
<!/DESCRIPTION>
<!CATEGORY>form and form validation<!/CATEGORY>
<!SCRIPT>
<!-- START OF SCRIPT -->
<form>
<textarea cols=15 rows=15 onFocus="this.select()">This is a test</textarea>
</form>
<!-- END OF SCRIPT -->
<!/SCRIPT>
<!PREVIEW>
<!-- START OF SCRIPT -->
<form>
<textarea cols=15 rows=15 onFocus="this.select()">This is a test</textarea>